package com.luochen.cdpt.eneity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
/**
 * 菜单
 * @author star
 * @date 2018/11/27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Entity
@Table(name="tb_menu")
public class Menu extends BaseEneity{
    
	@Id
	private Long id;

	private String code;//菜单编码

	private String name;//菜单名
	
	private String url;//菜单路径
	
	private Long parentid;//父菜单id
	
	private Long menuorder;//顺序
	
}
